<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>预定义常量</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="geoip.resources.html">资源类型</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.geoip.html">GeoIP 函数</a></div>
 <div class="up"><a href="book.geoip.html">GeoIP</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="geoip.constants" class="appendix">
 <h1>预定义常量</h1>

 <p class="simpara">下列常量由此扩展定义，且仅在此扩展编译入 PHP 或在运行时动态载入时可用。</p>
 <dl>

  
   <dt id="constant.geoip-country-edition">
    <strong><code>GEOIP_COUNTRY_EDITION</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt id="constant.geoip-region-edition-rev0">
    <strong><code>GEOIP_REGION_EDITION_REV0</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt id="constant.geoip-city-edition-rev0">
    <strong><code>GEOIP_CITY_EDITION_REV0</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt id="constant.geoip-org-edition">
    <strong><code>GEOIP_ORG_EDITION</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt id="constant.geoip-isp-edition">
    <strong><code>GEOIP_ISP_EDITION</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt id="constant.geoip-city-edition-rev1">
    <strong><code>GEOIP_CITY_EDITION_REV1</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt id="constant.geoip-region-edition-rev1">
    <strong><code>GEOIP_REGION_EDITION_REV1</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt id="constant.geoip-proxy-edition">
    <strong><code>GEOIP_PROXY_EDITION</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt id="constant.geoip-asnum-edition">
    <strong><code>GEOIP_ASNUM_EDITION</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt id="constant.geoip-netspeed-edition">
    <strong><code>GEOIP_NETSPEED_EDITION</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt id="constant.geoip-domain-edition">
    <strong><code>GEOIP_DOMAIN_EDITION</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
 </dl>

 <p class="para">
   The following constants are for net speed:
 </p>
 <dl>

  
   <dt id="constant.geoip-unknown-speed">
    <strong><code>GEOIP_UNKNOWN_SPEED</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara"/>
   </dd>

  
  
   <dt id="constant.geoip-dialup-speed">
    <strong><code>GEOIP_DIALUP_SPEED</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara"/>
   </dd>

  
  
   <dt id="constant.geoip-cabledsl-speed">
    <strong><code>GEOIP_CABLEDSL_SPEED</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara"/>
   </dd>

  
  
   <dt id="constant.geoip-corporate-speed">
    <strong><code>GEOIP_CORPORATE_SPEED</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara"/>
   </dd>

  
 </dl>

</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="geoip.resources.html">资源类型</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.geoip.html">GeoIP 函数</a></div>
 <div class="up"><a href="book.geoip.html">GeoIP</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
